Down

Downtime-Specific System Function

Syntax samples

DOWN <dtname>, {<priority>}

Description

Makes a location, with the specified called downtime, attempt to go down.

This statement is used in conjunction with the Called Downtime dialog, where you have previously defined the called downtime’s name, priority, and logic.

When this statement is executed, the called downtime will attempt to execute its logic. The timing of the execution of the called downtime’s logic will depend on the location’s state and the called downtime’s priority.

Valid In

Any logic, except Initialization and Termination logic.

Components

<dtname>

The name of the called downtime. This name is defined in the Called Downtime dialog, found in the Locations table.

<priority>

You may optionally define a priority. This will override the priority you defined in the Called Downtime dialog for the specified called downtime.

Please Note

The DOWN statement does not need to be called from the processing logic at the location that is to go down. It can be called from any logic in your model, except Initialization and Termination logic, and still cause the location’s Called Downtime to execute.

See Also

Called Downtime Editor, and Location Priorities and Preemption.